class Person:
    def eat(self):
        print('吃吃吃')


class Man(Person):
    def eat(self):
        print("吃核桃")


class Womam(Person):
    def eat(self):
        print("吃荔枝")


man = Man()
man.eat()
woman = Womam()
woman.eat()
